import request from '@/utils/request';

export async function getPlantCapacityBaseByPage (params: any) {
    return request('/api/product/getPlantCapacityBaseByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPlantCapacityBase (params: any) {
    return request('/api/product/addPlantCapacityBase', {
    method: 'POST',
    data: params,
  });
}

export async function updatePlantCapacityBase (params: any) {
    return request('/api/product/updatePlantCapacityBase', {
    method: 'POST',
    data: params,
  });
}

export async function delPlantCapacityBase (params: any) {
    return request('/api/product/delPlantCapacityBase', {
    method: 'POST',
    data: params,
  });
}


export async function exportPlantCapacityBase(params: any) {
    return request('/api/product/exportPlantCapacityBase', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPlantCapacityBaseByPage, addPlantCapacityBase, updatePlantCapacityBase, delPlantCapacityBase, exportPlantCapacityBase }
